Ext.define('MyDesktop.model.User', {
        extend: 'Ext.data.Model',
        fields: [
            { name: 'id'},
            { name: 'username'},
            { name: 'password'},
            { name: 'userCategory', type: 'int' },
            { name: 'createdDate', type: 'date', dateFormat: 'n/j/Y' }
        ]
});